// 管道流：用于将一个文件的内容传送到另一个文件里

var fs = require("fs");

var readStream = fs.createReadStream('data.txt');
var writeStream = fs.createWriteStream('data1.txt');


readStream.pipe(writeStream);

console.log("程序执行完毕");
